* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #e8eef78a !important;
}

.whole-page-wrapper {
    background-image: url("../Assets/E-70.png");
    background-position: center;
    background-size: contain;
    max-width:3200px;
    margin-left:auto;
    margin-right:auto;
}

.hero-image-div {
    position: relative;
    text-align: center ;
}

.hero-image-div img {
    object-fit: cover;
    min-height: 300px;
    max-height: 1160px;
}

.hero-image-div .hero-text {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 3px 3px 6px black;
    color: white;
}

.description-header {
    color: white;
    background-color: #d26e63;
    padding: 15px 0 15px 0;
    box-shadow: 0px 7px 10px 4px rgb(167 157 157 / 70%);
}

.description-section {
    text-align: center;
    background-image: url('../Assets/E-93.png');
    background-size: cover;
    height: 420px;
    z-index: 0;
    position: relative;
    background-position: bottom;
}

.description-section .text-div {
    position: relative;
    text-align: center;
    z-index: 1;
    max-width: 80ch;
    margin-right: auto;
    margin-left: auto;
    padding: 5px 20px 0 20px;
    color:#1c2f4d;
}

.drop-element {
    height: 37px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.rocket-section {
    margin-top: 150px;
}

.rocket-section div {
    display: block;
    overflow: hidden;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.rocket-section img {
    display: block;
    margin:auto;
    overflow: hidden;
    position: relative;
}

.rocket-section div:nth-child(2) {
    margin-top: -150px;
}

.rocket-section div:nth-child(3) {
    margin-top: -125px;
}

.rocket-section div:nth-child(4) {
    margin-top: -116px;
}

.rocket-section div:nth-child(5) {
    margin-top: -265px;
    height: 560px;
}

.rocket-section div:nth-child(1) img:nth-child(1) {
    height: 145px;
}

.rocket-section div:nth-child(1) img:nth-child(2) {
    content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 5.png');
    height: 145px;
    transform: translateY(-145px);
    transition: .5s ease;
    z-index: 2;
    cursor: pointer;
    animation-name: first-button-animation;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

.rocket-section div:nth-child(1) img:nth-child(2):hover {
    transform: translateY(-145px) scale(1.05);
    content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 14.png');
    z-index: 3;
    position: relative;
    animation:0;
}

.rocket-section div:nth-child(2) img:nth-child(1) {
    height: 117px;
}

.rocket-section div:nth-child(2) img:nth-child(2) {
    content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 6.png');
    height: 117px;
    transform: translateY(-117px);
    transition: .5s ease;
    z-index: 2;
    cursor: pointer;
    animation-name: second-button-animation;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

.rocket-section div:nth-child(2) img:nth-child(2):hover {
    transform: translateY(-117px) scale(1.05);
    content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 15.png');
}

.rocket-section div:nth-child(3) img:nth-child(1) {
    height: 120px;
}

.rocket-section div:nth-child(3) img:nth-child(2) {
    content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 7.png');
    height: 120px;
    transform: translateY(-120px);
    transition: .5s ease;
    z-index: 2;
    cursor: pointer;
    animation-name: third-button-animation;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

.rocket-section div:nth-child(3) img:nth-child(2):hover {
    transform: translateY(-120px) scale(1.1);
    content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 16.png');
}

.rocket-section div:nth-child(4) img:nth-child(1) {
    height: 120px;
}

.rocket-section div:nth-child(4) img:nth-child(2) {
    content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 8.png');
    height: 120px;
    transform: translateY(-120px);
    transition: .5s ease;
    z-index: 2;
    cursor: pointer;
    animation-name: fourth-button-animation;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

.rocket-section div:nth-child(4) img:nth-child(2):hover {
    transform: translateY(-120px) scale(1.1);
    content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 17.png');
}

.rocket-section div:nth-child(5) img:nth-child(1) {
    height: 460px;
    transform: translateY(120px);
    z-index: 1;
}

.rocket-section div:nth-child(5) img:nth-child(2) {
    height: 460px;
    margin-top: -420px;
    transform: translateY(-70px);
    z-index: 1;
}

@keyframes first-button-animation {
    0%, 75%, 100% {content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 5.png');}
    96% {content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 14.png');}
}

@keyframes second-button-animation {
    0%, 50%, 75% { content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 6.png');}
    71% { content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 15.png');}
}

@keyframes third-button-animation {   
    0%, 25%, 50%  {content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 7.png');}
    46% {content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 16.png');}
}

@keyframes fourth-button-animation { 
    0%, 25%  {content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 8.png');}
    21% {content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 17.png');}
}

.programs-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #f7f7f7e8;
    z-index: 9999;
    left:0;
    top:0;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateX(-100%);
    transition: .5s ease;
}

.programs-overlay .program-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    padding: 0;
    border-radius: 10px;
    text-align: justify;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 100vh;
}

.jk2-overlay .program-container {
    background-color: #fb9280c7;
}

.jk2-overlay .program-container .close-button {
    color: white;
    border: 2px solid transparent;
}

.jk2-overlay .program-container .close-button:hover {
    border: 2px solid white;
}

.jk1-overlay .program-container {
    background-color: #7599cddb;
}

.jk1-overlay .program-container .close-button {
    color: white;
    border: 2px solid transparent;
}

.jk1-overlay .program-container .close-button:hover {
    border: 2px solid white;
}

.toddlers-overlay .program-container {
    background-color: #f9ce7fc2;
}

.toddlers-overlay .program-container .close-button {
    color: white;
    border: 2px solid transparent;
}

.toddlers-overlay .program-container .close-button:hover {
    border: 2px solid white;
}

.infants-overlay .program-container {
    background-color: #b3c7aabf;
}

.infants-overlay .program-container .close-button {
    color: white;
    border: 2px solid transparent;
}

.infants-overlay .program-container .close-button:hover {
    border: 2px solid white;
}

.program-container,
.program-container .row {
    padding: 0;
    margin:0;
}

.programs-overlay .program-container .close-button {
    right: 20px;
    top:20px;
    position: fixed;
    display: block;
    font-size: 33px;
    padding: 0px 16px;
    transition: .5s ease;
    border-radius: 10px;
    background-color: transparent;
    border: 2px solid transparent;
    z-index: 4;
}

.programs-overlay .program-container .close-button:hover{
    background-color: transparent;
}

.program-container .row div:nth-child(1) {
    padding: 50px;
}

.program-container .row div:nth-child(2) {
    background-color: transparent;
    border: none;
    background-size: cover;
    background-position: center;
    min-height: 380px;
}

.jk2-overlay .program-container .row div:nth-child(2) {
    background-image: url('../Assets/EarlyLearningAcademy/JK 2.jpg');
    clip-path: polygon(0% 26%,10% 0%,100% 0%,100% 100%,5% 100%,2% 62%,7% 50%);
}

.jk1-overlay .program-container .row div:nth-child(2) {
    background-image: url('../Assets/EarlyLearningAcademy/JK 1.jpg');
    clip-path: polygon(4% 14%,0% 0%,100% 0%,100% 100%,0% 100%,4% 71%,0% 29%);
}

.toddlers-overlay .program-container .row div:nth-child(2) {
    background-image: url('../Assets/EarlyLearningAcademy/Toddlers.jpg');
    clip-path: polygon(0% 44%,4% 0%,100% 0%,100% 100%,13% 100%,0% 76%,7% 50%);
}

.infants-overlay .program-container .row div:nth-child(2) {
    background-image: url('../Assets/EarlyLearningAcademy/Infants.jpg');
    clip-path: polygon(3% 44%,0% 0%,100% 0%,100% 100%,13% 100%,0% 76%,9% 49%);
}

.stars-bg-wrapper {
    background-image: url('../Assets/EarlyLearningAcademy/stars-bg/stars-bg.png');
    background-repeat: no-repeat;
    background-position: center;
    animation-name: stars-bg-animation;
    animation-duration: 100s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-direction: normal;
    background-repeat: repeat-y;
    padding-bottom: 160px;
}

@keyframes stars-bg-animation {
    0% {
        background-position-y: -2335px;
    }

    100% {
        background-position-y: 0px;
    }
}

.bottom-bg-wrapper {
    background-image: url('../Assets/EarlyLearningAcademy/bottom-bg1.png');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    transform: translateY(-120px);
    min-height: 1300px;
}

.register-section {
    margin: auto;
    text-align: center;
    max-width: 65ch;
    padding-left:40px;
    padding-right:40px;
    position: absolute;
    left:0;
    right:0;
    bottom:0;
}
  
.register-section p {
    color: #1d477c;
    background-color: #bcdbaf91;
    border-radius: 10px;
    padding: 30px;
    border: 2px solid #1d477c;
}
  
.register-section .register-button {
    margin: 120px auto 0px auto;
    font-family: 'Poppins', serif;
    font-size: 30px;
    display: block;
    width: 300px;
    height: 70px;
    background-color: #f7c851;
    color: white;
    transition: .5s ease;
    border: 1px solid transparent;
    border-radius: 10px;
}
  
.register-section .register-button:hover,
.register-section .register-button:active {
    background-color: transparent;
    border: 1px solid #f7c851;
    color: #f7c851;
}
  
@media screen and (min-width: 2350px) {
    .description-section {
        height: 450px;
    }
}
  
@media screen and (max-width: 2000px) {
    .stars-bg-wrapper {
        background-image: url('../Assets/EarlyLearningAcademy/stars-bg/stars-bg-xl.png');
    }
}
  
@media screen and (max-width: 1600px) {
    .stars-bg-wrapper {
        padding-bottom: 80px;
    }

    .rocket-section {
        margin-top: 80px;
    }

    .rocket-section div:nth-child(2) {
        margin-top: -110px;
    }

    .rocket-section div:nth-child(3) {
        margin-top: -100px;
    }

    .rocket-section div:nth-child(4) {
        margin-top: -95px;
    }

    .rocket-section div:nth-child(5) {
        height:535px;
        margin-top: -240px;
    }

    .rocket-section div:nth-child(1) img:nth-child(1) {
        height: 110px;
        z-index: 1;
    }

    .rocket-section div:nth-child(1) img:nth-child(2) {
        content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 5.png');
        height: 110px;
        transform: translateY(-110px);
        transition: .5s ease;
        z-index: 2;
    }

    .rocket-section div:nth-child(1) img:nth-child(2):hover {
        transform: translateY(-110px) scale(1.05);
        content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 14.png');
    }

    .rocket-section div:nth-child(2) img:nth-child(1) {
        height: 100px;
    }

    .rocket-section div:nth-child(2) img:nth-child(2) {
        content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 6.png');
        height: 100px;
        transform: translateY(-100px);
        transition: .5s ease;
        z-index: 2;
    }

    .rocket-section div:nth-child(2) img:nth-child(2):hover {
        transform: translateY(-100px) scale(1.05);
        content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 15.png');
    }

    .rocket-section div:nth-child(3) img:nth-child(1) {
        height: 100px;
    }

    .rocket-section div:nth-child(3) img:nth-child(2) {
        content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 7.png');
        height: 100px;
        transform: translateY(-100px);
        transition: .5s ease;
        z-index: 2;
    }

    .rocket-section div:nth-child(3) img:nth-child(2):hover {
        transform: translateY(-100px) scale(1.1);
        content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 16.png');
    }

    .rocket-section div:nth-child(4) img:nth-child(1) {
        height: 100px;
    }

    .rocket-section div:nth-child(4) img:nth-child(2) {
        content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 8.png');
        height: 100px;
        transform: translateY(-100px);
        z-index: 3;
        transition: .5s ease;
        z-index: 2;
    }

    .rocket-section div:nth-child(4) img:nth-child(2):hover {
        transform: translateY(-100px) scale(1.1);
        content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 17.png');
    }

    .rocket-section div:nth-child(5) img:nth-child(1) {
        height: 385px;
        transform: translateY(120px);
        z-index: 1;
    }

    .rocket-section div:nth-child(5) img:nth-child(2) {
        height: 385px;
        margin-top: -40px;
        transform: translateY(-365px);
        z-index: 1;
    }
}

@media screen and (max-width: 1400px) {
    .bottom-bg-wrapper {
        min-height: 1000px;
    }
}
  
@media screen and (max-width: 1200px) {
    .description-section {
        height: 330px;
    }

    .stars-bg-wrapper {
        padding-bottom: 50px;
    }

    .rocket-section {
        margin-top: 50px;
    }

    .rocket-section div:nth-child(2) {
        margin-top: -108px;
    }

    .rocket-section div:nth-child(3) {
        margin-top: -90px;
    }

    .rocket-section div:nth-child(4) {
        margin-top: -80px;
    }

    .rocket-section div:nth-child(5) {
        height:470px;
        margin-top: -240px;
    }

    .rocket-section div:nth-child(1) img:nth-child(1) {
        height: 105px;
        z-index: 1;
    }

    .rocket-section div:nth-child(1) img:nth-child(2) {
        content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 5.png');
        height: 105px;
        transform: translateY(-105px);
        transition: .5s ease;
        z-index: 2;
    }

    .rocket-section div:nth-child(1) img:nth-child(2):hover {
        transform: translateY(-105px) scale(1.05);
        content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 14.png');
    }

    .rocket-section div:nth-child(2) img:nth-child(1) {
        height: 85px;
    }

    .rocket-section div:nth-child(2) img:nth-child(2) {
        content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 6.png');
        height: 85px;
        transform: translateY(-85px);
        transition: .5s ease;
        z-index: 2;
    }

    .rocket-section div:nth-child(2) img:nth-child(2):hover {
        transform: translateY(-85px) scale(1.05);
        content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 15.png');
    }

    .rocket-section div:nth-child(3) img:nth-child(1) {
        height: 85px;
    }

    .rocket-section div:nth-child(3) img:nth-child(2) {
        content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 7.png');
        height: 85px;
        transform: translateY(-85px);
        transition: .5s ease;
        z-index: 2;
    }

    .rocket-section div:nth-child(3) img:nth-child(2):hover {
        transform: translateY(-85px) scale(1.1);
        content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 16.png');
    }

    .rocket-section div:nth-child(4) img:nth-child(1) {
        height: 85px;
    }

    .rocket-section div:nth-child(4) img:nth-child(2) {
        content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 8.png');
        height: 85px;
        transform: translateY(-85px);
        z-index: 3;
        transition: .5s ease;
        z-index: 2;
    }

    .rocket-section div:nth-child(4) img:nth-child(2):hover {
        transform: translateY(-85px) scale(1.1);
        content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 17.png');
    }

    .rocket-section div:nth-child(5) img:nth-child(1) {
        height: 340px;
        transform: translateY(135px);
        z-index: 1;
    }

    .rocket-section div:nth-child(5) img:nth-child(2) {
        height: 340px;
        margin-top: -40px;
        transform: translateY(-290px);
        z-index: 1;
    }

    .stars-bg-wrapper {
        background-image: url('../Assets/EarlyLearningAcademy/stars-bg/stars-bg-lg.png');
    }

    .register-section .register-button {
        font-size: 25px;
        width: 250px;
        height: 50px;
    }

    .register-section {
        max-width: 53ch;
    }

    .bottom-bg-wrapper {
        min-height: 780px;
    }
}
  
@media screen and (max-width: 991px) {
    section .description-text-div {
        margin-bottom: 50px;
        padding: 0 30px 0 30px;
    }

    .description-section {
        height: 320px;
    }

    .jk1-overlay .program-container .row div:nth-child(2) {
        clip-path: polygon(39% 9%,72% 0%,100% 8%,100% 100%,0% 100%,0% 11%,28% 2%);
    }

    .jk2-overlay .program-container .row div:nth-child(2) {
        clip-path: polygon(57% 0%,60% 5%,100% 0%,100% 100%,0% 100%,0% 0%,39% 8%);
    }

    .toddlers-overlay .program-container .row div:nth-child(2) {
        clip-path: polygon(51% 0%,76% 6%,100% 0%,100% 100%,0% 100%,0% 0%,41% 5%);
    }

    .infants-overlay .program-container .row div:nth-child(2) {
        clip-path: polygon(45% 0%,69% 5%,100% 0%,100% 100%,0% 100%,0% 2%,38% 6%);
    }

    .register-section {
        max-width: 44ch;
    }
}

@media screen and (max-width: 869px) {
    .stars-bg-wrapper {
        background-image: url('../Assets/EarlyLearningAcademy/stars-bg/stars-bg-md.png');
    }
}

@media screen and (max-width: 768px) {
    .bottom-bg-wrapper {
        background-image: url('../Assets/EarlyLearningAcademy/bottom-bg1.png');
        min-height: 670px;
    }
}
  
@media screen and (max-width: 568px) {
    .description-section {
        height: 300px;
    }

    .stars-bg-wrapper {
        padding-bottom: 20px;
    }

    .rocket-section {
        margin-top: 20px;
    }

    .programs-section .program-container {
        width: 95%;
    }

    .rocket-section div:nth-child(2) {
        margin-top: -70px;
    }

    .rocket-section div:nth-child(3) {
        margin-top: -55px;
    }

    .rocket-section div:nth-child(4) {
        margin-top: -50px;
    }

    .rocket-section div:nth-child(5) {
        height:300px;
        margin-top: -125px;
    }

    .rocket-section div:nth-child(1) img:nth-child(1) {
        height: 70px;
    }

    .rocket-section div:nth-child(1) img:nth-child(2) {
        content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 5.png');
        height: 70px;
        transform: translateY(-70px);
        transition: .5s ease;
        z-index: 2;
    }

    .rocket-section div:nth-child(1) img:nth-child(2):hover {
        transform: translateY(-70px) scale(1.05);
        content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 14.png');
    }

    .rocket-section div:nth-child(2) img:nth-child(1) {
        height: 55px;
    }

    .rocket-section div:nth-child(2) img:nth-child(2) {
        content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 6.png');
        height: 55px;
        transform: translateY(-55px);
        transition: .5s ease;
        z-index: 2;
    }

    .rocket-section div:nth-child(2) img:nth-child(2):hover {
        transform: translateY(-55px) scale(1.05);
        content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 15.png');
    }


    .rocket-section div:nth-child(3) img:nth-child(1) {
        height: 55px;
    }

    .rocket-section div:nth-child(3) img:nth-child(2) {
        content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 7.png');
        height: 55px;
        transform: translateY(-55px);
        transition: .5s ease;
        z-index: 2;
    }

    .rocket-section div:nth-child(3) img:nth-child(2):hover {
        transform: translateY(-55px) scale(1.1);
        content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 16.png');
    }

    .rocket-section div:nth-child(4) img:nth-child(1) {
        height: 55px;
    }

    .rocket-section div:nth-child(4) img:nth-child(2) {
        content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 8.png');
        height: 55px;
        transform: translateY(-55px);
        z-index: 3;
        transition: .5s ease;
        z-index: 2;
    }

    .rocket-section div:nth-child(4) img:nth-child(2):hover {
        transform: translateY(-55px) scale(1.1);
        content: url('../Assets/EarlyLearningAcademy/RocketNew/Image 17.png');
    }

    .rocket-section div:nth-child(5) img:nth-child(1) {
        height: 215px;
        transform: translateY(60px);
        z-index: 1;
    }

    .rocket-section div:nth-child(5) img:nth-child(2) {
        height: 215px;
        margin-top: -40px;
        transform: translateY(-185px);
        z-index: 1;
    }

    .programs-overlay .program-container {
        top: 0%;
        left: 0%;
        transform: translate(-0%, -0%);
    }

    .programs-overlay .program-container .close-button {
        right: 0;
        position: fixed;
        transform: translateY(0px);
        font-size: 28px;
        padding: 8px 16px;
        background-color: transparent;
        color:white;
        border: none;
    }

    .programs-overlay .program-container .close-button:hover{
        background-color: transparent;
        color:#d26e63;
    }

    .stars-bg-wrapper {
        background-image: url('../Assets/EarlyLearningAcademy/stars-bg/stars-bg-sm.png');
    }

    .register-section .register-button {
        font-size: 22px;
        width: 230px;
        height: 50px;
    }
}
  
@media screen and (max-width: 414px) {
    .description-section {
        height: 400px;
    }

    .stars-bg-wrapper {
        background-image: url('../Assets/EarlyLearningAcademy/stars-bg/stars-bg-xs.png');
    }
}
  
@media screen and (max-width: 437px) {
    .hero-image-div img {
        min-height: auto;
    }
}
  
@media screen and (max-width: 367px) {
    .description-section {
        height: 460px;
    }

    .bottom-bg-wrapper {
        min-height: 710px;
    }

    .register-section {
        padding-left:20px;
        padding-right:20px;
    }
}